<?php
/*******************************************************************************
 * $Date:: 29 May 2010 00:20:45												   $
 * $Revision::																   $
 * $Author:: Tuan Duong													   	   $
 * $Comment::															   	   $
 ******************************************************************************/
class Bet_Client_Controller extends Bet_ApplicationController {

	public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response,
			array $invokeArgs = array()) {
		parent::__construct($request, $response, $invokeArgs);
		if ($this->requireLoggedIn()) {
			$identity = Zend_Auth::getInstance()->getIdentity();	
			if (empty($identity)) {
				$this->_redirect('/auth/login');
			}
		}
	}

	protected function requireLoggedIn($back = null) {
		return false;
	}

}




